/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package VocSymbTest2;

import java.util.Comparator;

/**
 *
 * @author StiggieBig
 */
public class ItemSetComparator<T extends ItemSet> implements Comparator<T> {

    @Override
    public int compare(T obj1, T obj2) {
        int compVal = 0;
        
        compVal = obj1.compareTo(obj2);
        
        /*if(compVal == 0){
            compVal = compitem1.GetStringBeforeDot().compareTo(compitem2.GetStringBeforeDot());
            if(compVal == 0){
                compVal = compitem1.GetStringAfterDot().compareTo(compitem2.GetStringAfterDot());
            }
        }*/
        return compVal;
    }
}